import re

patterns = [r".* YOU ARE (DEPRESSED|SAD) .*",
            r".* I AM (DEPRESSED|SAD) .*",
            r".* ALL .*",
            r".* ALWAYS .*"]

replys = [r"I am sorry to hear you are \1",
          r"why do you think you are \1?",
          r"in what way?",
          "can you think of a specific example?"]
inputs = input()
inputs = inputs.upper()
while(inputs!="Q"):
    for pattern, reply in zip(patterns, replys):
        reply = re.sub(pattern, reply, inputs)
        if(reply!=inputs):
            break
    print(reply)
    inputs = input().upper()